#coding:utf-8
from django.conf.urls.defaults import patterns, include, url

from main.views import index
import settings


# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    url(r'^$',index),
    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),
    #necessario para visualizar os js e css, em producao isso vai vir de outro local
    url(r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.current_path('templates\\static\\') })
)